<?php $this->placeholder('onReady')->captureStart() ?>
	$("#<?php echo $this->id_tablesorter?>").tablesorter( {sortList: [[0,1], [1,1]]} );
<?php $this->placeholder('onReady')->captureEnd() ?>






<div class="contenedor_tablesorter">
<?php echo $this->anchor($this->controllerName.'/insertar','Añadir',array('class'=>'utiladd'));?>

<table id="<?php echo $this->id_tablesorter?>" class="tablesorter"> 
	<thead>
		<tr>
        <th><?php echo $this->translate("Año")?></th>
        <th><?php echo $this->translate("Mes")?></th>
        <th><?php echo $this->translate("Superficie Total")?></th>
        <th><?php echo $this->translate("Superficie Ocupada")?></th>
        <th><?php echo $this->translate("Superficie Prevista")?></th>
        <th><?php echo $this->translate("Notas")?></th>
        <th><?php echo $this->translate("Documentos Adjuntos")?></th>
        <th class="configure" ></th> 
    	</tr>
    </thead>
    <tbody>
        <?php echo $this->partialLoop($this->controllerName.'/fila.phtml', (array)$this->rows); ?>	
    </tbody>
</table>
</div>